import request from '@/utils/request'

// 获取评论列表
export function getCommentList(params) {
    return request({
        url: '/comment/getCommentList',
        method: 'get',
        params: params
    })
}

export function comment(data) {
    return request({
        url: '/comment/comment',
        method: 'post',
        data: data
    })
}